package com.yl.chainStore.payrule.coupons.entity

import com.yl.chainStore.entity.pay.PayCustomerOrder
import com.yl.chainStore.payrule.coupons.CouponsRule
import com.yl.common.control.ResponseBody
import com.yl.common.control.returnSuccess


class DefaultCouponsRule: CouponsRule {

	override fun validationSelf(): ResponseBody {
		return returnSuccess()
	}

	 fun discountMoney(order: PayCustomerOrder): ResponseBody {
		return returnSuccess(0)
	}

	override fun canUseForOrder(order: PayCustomerOrder): Boolean {
		return false
	}
}
